package com.example.meituan.bean;

import java.util.List;

public class OrderBean {
    private int id;
    private String shopName;
    private String shopPic;
    private String time;
    private String message;
    private List<OrderFoodBean> orderItems;

    // 构造函数
    public OrderBean(int id, String shopName, String shopPic, List<OrderFoodBean> orderItems) {
        this.id = id;
        this.shopName = shopName;
        this.shopPic = shopPic;
        this.orderItems = orderItems;
    }

    // Getters 和 Setters 方法
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopPic() {
        return shopPic;
    }

    public void setShopPic(String shopPic) {
        this.shopPic = shopPic;
    }

    public List<OrderFoodBean> getOrderItems() {
        return orderItems;
    }

    public void setOrderItems(List<OrderFoodBean> orderItems) {
        this.orderItems = orderItems;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}

